package com.stylefeng.guns.rest.common.persistence.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * Created by ASUS-PC on 2020/5/18.
 */
@TableName(value = "vl_country_code")
public class CountryCode extends Model<CountryCode> {
    private static final long serialVersionUID = 1L;

    private int id;
    @TableField("country_en")
    private String countryEn;
    @TableField("country_zh")
    private String countryZh;
    @TableField("country_dh")
    private String countryDh;
    @TableField("country_code")
    private String countryCode;
    private int sort;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCountryEn() {
        return countryEn;
    }

    public void setCountryEn(String countryEn) {
        this.countryEn = countryEn;
    }

    public String getCountryZh() {
        return countryZh;
    }

    public void setCountryZh(String countryZh) {
        this.countryZh = countryZh;
    }

    public String getCountryDh() {
        return countryDh;
    }

    public void setCountryDh(String countryDh) {
        this.countryDh = countryDh;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    @Override
    protected Serializable pkVal() {
        return id;
    }
}
